package com.yt.service.impl;

import com.yt.entity.Novel;
import com.yt.mapper.NovelMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class NovelService implements com.yt.service.NovelService {
    @Resource
    NovelMapper novelMapper;
    @Override
    public List<Novel> getNovelsByAid(Integer aid) {
        return novelMapper.getNovelsByAid(aid);
    }
}
